package cn.ulyer.core.modules.system.service;

import cn.ulyer.common.jpa.entity.RolePermission;
import cn.ulyer.common.jpa.service.BaseService;
import org.springframework.lang.NonNull;
import org.springframework.lang.Nullable;

import java.util.List;

public interface RolePermissionService extends BaseService<RolePermission,Integer> {
    void updateRolePermissions(@NonNull Integer roleId, @Nullable List<Integer> permission);
}
